package com.oversea.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(value= {ElementType.TYPE, ElementType.METHOD})
public @interface Permission {
	/**
	 * 权限级别
	 * @return
	 */
	int level();
	
	/**
	 * 
	 * @return
	 */
	String description() default "";
	
	String parameter() default "";
	
	String value() default "";
}
